package com.prd.service;

import com.prd.enums.SendCodeEnum;
import com.prd.util.JsonData;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Author lizhaoyi
 * @date 2023/11/20 13:58
 * Description:
 */
public interface NotifyService {

    /**
     * 发送手机号验证码
     * @param sendCodeEnum
     * @param to
     * @return
     */
    JsonData sendCode(SendCodeEnum sendCodeEnum, String to);

    /**
     * 实名认证
     * @param name
     * @param idCardNum
     * @param idCardFaceImg
     * @param idCardBackImg
     * @return
     */
    JsonData authenticate(String name, String idCardNum, String idCardFaceImg,String idCardBackImg);
}
